@import "@/styles/variables.less";

@transition-duration: 0.3s;
.mask-modal {
  position: relative;

  .mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10;
    .modal-container {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      overflow: hidden;
      height: auto;
      max-height: 0;
      background: white;
      border-radius: @size-base @size-base 0 0;
      transition: all 0.3s ease;
      z-index: 2;

      .action {
        margin: @size-base;
        display: flex;
        justify-content: space-between;
        .confirm {
          color: @primary-color;
        }
        .cancel {
          color: @default-color;
        }
      }
    }
  }
}
